package com.project.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_me_out")
public class MeOutBean {
    @TableId(value = "pk_Id",type = IdType.AUTO)
    private int id;
    @TableField("f_num")
    private int num;
    @TableField("fk_meId")
    private MedicineBean medicineBean;
    @TableField("fk_outId")
    private OutBean outBean;

    public MeOutBean() {
    }

    public MeOutBean(int num, MedicineBean medicineBean, OutBean outBean) {
        this.num = num;
        this.medicineBean = medicineBean;
        this.outBean = outBean;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public MedicineBean getMedicineBean() {
        return medicineBean;
    }

    public void setMedicineBean(MedicineBean medicineBean) {
        this.medicineBean = medicineBean;
    }

    public OutBean getOutBean() {
        return outBean;
    }

    public void setOutBean(OutBean outBean) {
        this.outBean = outBean;
    }

    @Override
    public String toString() {
        return "MeOutBean{" +
                "id=" + id +
                ", num=" + num +
                ", medicineBean=" + medicineBean +
                ", outBean=" + outBean +
                '}';
    }
}
